<?php

namespace app\admin\validate\finance;

use think\Validate;

class Withdrawal extends Validate
{
    /**
     * 验证规则
     */
    protected $rule = [
        'status' => 'require|gt:0'
    ];
    /**
     * 提示消息
     */
    protected $message = [
        'status.require' => '请选择审核状态', 
        'status.gt' => '请选择审核状态', 
    ];
    /**
     * 验证场景
     */
    protected $scene = [
        'add'  => [],
        'edit' => ['status'],
    ];
    
}
